package cn.tfyhyc.springcloud.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @author 头发又黑又长
 * @Date 2022/10/30 16:13
 * @email zwb15083976291@163.com
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Account {

    private Long id;

    /*用户id*/
    private BigDecimal userId;
    /*总额度*/
    private BigDecimal total;
    /*已用额度*/
    private BigDecimal used;
    /*剩余额度*/
    private BigDecimal residue;


}
